/**
 * 
 */
package co.edu.eam.iso.evaluated;

import java.math.BigDecimal;
import java.util.List;

import co.edu.eam.iso.evaluator.SubCharacteristic;

/**
 * @author Giovanny Ramirez Blandon
 * @version 1.0
 */
public class SubCharacteristicEvaluated {
	
	private SubCharacteristic subCharacteristic;
	private BigDecimal quality;
	private List<MetricEvaluated> metrics;
	
	/**
	 * @return the subCharacteristic
	 */
	public SubCharacteristic getSubCharacteristic() {
		return subCharacteristic;
	}
	
	/**
	 * @param subCharacteristic the subCharacteristic to set
	 */
	public void setSubCharacteristic(SubCharacteristic subCharacteristic) {
		this.subCharacteristic = subCharacteristic;
	}
	
	/**
	 * @return the quality
	 */
	public BigDecimal getQuality() {
		return quality;
	}
	
	/**
	 * @param quality the quality to set
	 */
	public void setQuality(BigDecimal quality) {
		this.quality = quality;
	}
	
	/**
	 * @return the metrics
	 */
	public List<MetricEvaluated> getMetrics() {
		return metrics;
	}
	
	/**
	 * @param metrics the metrics to set
	 */
	public void setMetrics(List<MetricEvaluated> metrics) {
		this.metrics = metrics;
	}
	
	public String toString() {
		return subCharacteristic.getSubCharacteristicEnum().toString();
	}

}
